package com.lcf.system.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 订单商品(OrderGoods)表实体类
 *
 * @author lcf
 * @since 2025-04-24 21:14:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class OrderGoods extends Model<OrderGoods> {
    //id
    private Long id;
    //订单编号
    private String orderNo;
    //订单id
    private Long orderId;
    //商品id
    private Long goodsId;
    //商品数量
    private Integer goodsNum;
    //商品单价
    private BigDecimal goodsPrice;
}

